package jeons.use.home.biz.impl;

import jeons.admin.buildproduct.dto.BuildDTO;
import jeons.use.home.biz.HomeBiz;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.ibatis.SqlMapClientTemplate;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@Service
@Transactional
public class HomeBizImpl extends SqlMapClientDaoSupport implements HomeBiz{
	@Autowired SqlMapClientTemplate sqlMapClientTemplate;
	@Override
	public BuildDTO getData(int bdno) {
		return (BuildDTO) sqlMapClientTemplate.queryForObject("Home.getData",bdno);
	}

}
